JavaScript Alert

This stationery page contains an example of a link that displays an alert

Please note that JavaScript is currently only available in Netscape Navigator 2.0 or higher.
Do not assume that all in your audience are using a JavaScript enabled browser.


Example of a link displaying an alert dialog.


How to use:

Use something like this inside the contents of your page to create a link that will display an alert.

<A HREF="#" onClick="window.alert('This is a special message to you!');" onMouseOver="window.status='This is not a regular link'; return true">Example</A> of a link displaying an alert dialog.


You can use the following Body tag:

<BODY onLoad="window.alert('Welcome!');">

to display an annoying alert every time the page is loaded.